package com.headwind.logistics.order.dto;

import com.headwind.logistics.order.entity.Order;
import com.headwind.logistics.order.entity.OrderCargo;
import lombok.Data;

import java.util.List;

/**
 * @Author 盛夏
 * @Date 2020-07-20 下午 4:42
 * @Version 1.0
 * @DESCRIPTION 填写类作用描述
 */
@Data
public class OrderDto {
    private Long orderId;
    //订单号
    private String orderOdd;
    //快递单号
    private String courierOdd;
    //下单时间
    private String orderDate;
    //客户姓名
    private String userName;
    //客户联系方式
    private String userPhone;
    //订单状态
    //0保存1发货2运抵3已签收4已回单5未回单6未签收
    private int orderStatus;
    //交付方式
    private int makeCargoMethod;
    //出发运点
    private String sendAddress;
    //目的地
    private String goalBranch;
    //目的运点
    private String goalAddress;
    //货物名
    private String cargoNmae;
    //总金额
    private double totalMoney;
    //数量
    private String number;
    //重量
    private String weight;
    //体积
    private String volume;
    //实际发运日期
    private String sendOutDate;
    //实际运抵时间
    private String arriveDate;
    //创建时间
    private String createTime;
    //修改时间
    private String updateTime;
    //操作人
    private String employeeName;

    //运输性质
    private int carriageStart;
    //回单状态
    private int receiptStart;

    /**
     * 订单货物集合
     */
    private List<OrderCargo> orderCargos;


    //费用类型名称
    private String feeName;

    //应收金额
    private String amountReceivable;
    //税率
    private String taxRate;
    //税金
    private String taxes;
    //收入
    private String income;
    //优惠金额
    private int discount;
}
